Day 46 - SwiftUI Navigation: Project 9 Challange
·181 words·1 min
In this episode we are on day 46 of our SwiftUI in 100 Days journey and we have 3 SwiftUI Navigation related challanges to tackle.
- Change Project 7 (iExpense) to use
NavigationLink
instead of a sheet to add new expenses. (Hint:dismiss()
code works great here, but you might want to add thenavigationBarBackButton()
modifier so that they have to explicitly select Cancel). - Try modifying Project 7 to allow users to edit the issue names in the navigation title instead of in the separate text field.
Solution for items 1 and 2 : GitHub - GorkemGuray/iExpense: 100 Days of SwiftUI - Project-7_Day45_Challange
- Return to Project 8 (Moonshot) and upgrade to use
NavigationLink(value:)
. This means addingHashable
compatibility and thinking carefully about how to use thenavigationDestination()
method.
Solution for item 3 : GitHub - GorkemGuray/Moonshot: 100 Days of SwiftUI - Project-8_Day46_Challange
You can also read this article in Turkish.
Bu yazıyı Türkçe olarak da okuyabilirsiniz.
This article contains the notes I took for myself from the articles found at SwiftUI Day 46. Please use the link to follow the original lesson.